package com.fa4j.system.settings.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fa4j.common.base.model.CommonState;
import com.fa4j.common.data.model.Base;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 系统设置
 *
 * @since 2025-06-20 15:55:41
 */
@Data
@TableName(value = "t_sys_settings", autoResultMap = true)
@Schema(description = "系统设置")
public class Settings extends Base {

    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "编码")
    private String code;

    @Schema(description = "状态")
    private CommonState state;

    @Schema(description = "设置定义")
    private String settingsSchema;

    @Schema(description = "设置数据")
    private String settingsData;

    @Schema(description = "操作人ID")
    private Long operatorId;


}
